<?phpinclude_once("../../../config.php");//应该做一下校验，你提供的用户user id  是否和你当前请求的 openid匹配。不匹配就没权限，匹配就放行include_once("../common/check_connection_authur.php");$_authur=check_connection_authur($user_id,$_openid);    //$_childe['ai_member_nid']=$_POST['member_nid'];    $_childe['ai_name']=$_POST['name'];    $_childe['ai_phone']=$_POST['phone'];    $_childe['ai_school']=$_POST['school'];    $_childe['ai_grade']=$_POST['grade'];    $_childe['ai_class_']=$_POST['class'];    $_sql=update_date($table_prefix."member_child",$_childe,"nid",$_POST['nid']);    $requst=do_query($_sql) or die($_sql);    //判断添加是否成功    if($requst){        $arr['code'] = 200;        $arr['status'] = 200;        $arr['info'] = "添加成功";    }else{        $arr['code'] = 400;        $arr['status'] = 400;        $arr['info'] = "添加失败";    }    die(json_encode($arr));?>